//
//  AuctionCollectionViewCell.h
//  MyNewProject
//
//  Created by 王春辉 on 2019/12/22.
//  Copyright © 2019年 sun. All rights reserved.
//

#import <UIKit/UIKit.h>
#pragma mark -- mark 功能
#import "OYCountDownManager.h"

NS_ASSUME_NONNULL_BEGIN
typedef void (^ActionCollectionViewCellShareButtonClickBlock)(void);
@interface AuctionCollectionViewCell : UICollectionViewCell

/**
 图片信息
 */
@property (nonatomic, readonly, strong) UIImageView *imageView;

/**
 title
 */
@property (nonatomic, copy) NSString *title;

/**
 起拍价格
 */
@property (nonatomic, assign) CGFloat startPrice;

/// 距离结束时间戳
@property (nonatomic, assign) NSTimeInterval sinceEndTimeInterval;

/// 距离开始时间戳
@property (nonatomic, assign) NSTimeInterval sinceStartTimeInterval;

/**
 1未开始
 2进行中
 3已结束
 4已成交
 5流派
 */
@property (nonatomic, assign) NSInteger status;

/// 倒计时结束回调
@property (nonatomic, copy) void(^countDownEndBlock)(void);
/**
 分享按钮点击回调

 @param block block
 */
- (void)shareButtonClickBlock:(ActionCollectionViewCellShareButtonClickBlock)block;
@end

NS_ASSUME_NONNULL_END
